import Router from "koa-router"

import wechatController from "../controller/wechat.controller.js"
const { getWxToken } = wechatController

const router = new Router({ prefix: "/wx" })

router.post("/getMiniProgramToken", getWxToken)

export default router